{"ast":null,"code":"import _defineProperty from \"/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/@babel/runtime/helpers/esm/defineProperty.js\";\nimport { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { resetComponent } from '../../style';\nvar genStatisticStyle = function genStatisticStyle(token) {\n  var _$concat, _Object$assign;\n  var componentCls = token.componentCls,\n    marginXXS = token.marginXXS,\n    padding = token.padding,\n    colorTextDescription = token.colorTextDescription,\n    statisticTitleFontSize = token.statisticTitleFontSize,\n    colorTextHeading = token.colorTextHeading,\n    statisticContentFontSize = token.statisticContentFontSize,\n    statisticFontFamily = token.statisticFontFamily;\n  return _defineProperty({}, \"\".concat(componentCls), Object.assign(Object.assign({}, resetComponent(token)), (_Object$assign = {}, _defineProperty(_Object$assign, \"\".concat(componentCls, \"-title\"), {\n    marginBottom: marginXXS,\n    color: colorTextDescription,\n    fontSize: statisticTitleFontSize\n  }), _defineProperty(_Object$assign, \"\".concat(componentCls, \"-skeleton\"), {\n    paddingTop: padding\n  }), _defineProperty(_Object$assign, \"\".concat(componentCls, \"-content\"), (_$concat = {\n    color: colorTextHeading,\n    fontSize: statisticContentFontSize,\n    fontFamily: statisticFontFamily\n  }, _defineProperty(_$concat, \"\".concat(componentCls, \"-content-value\"), {\n    display: 'inline-block',\n    direction: 'ltr'\n  }), _defineProperty(_$concat, \"\".concat(componentCls, \"-content-prefix, \").concat(componentCls, \"-content-suffix\"), {\n    display: 'inline-block'\n  }), _defineProperty(_$concat, \"\".concat(componentCls, \"-content-prefix\"), {\n    marginInlineEnd: marginXXS\n  }), _defineProperty(_$concat, \"\".concat(componentCls, \"-content-suffix\"), {\n    marginInlineStart: marginXXS\n  }), _$concat)), _Object$assign)));\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Statistic', function (token) {\n  var fontSizeHeading3 = token.fontSizeHeading3,\n    fontSize = token.fontSize,\n    fontFamily = token.fontFamily;\n  var statisticToken = mergeToken(token, {\n    statisticTitleFontSize: fontSize,\n    statisticContentFontSize: fontSizeHeading3,\n    statisticFontFamily: fontFamily\n  });\n  return [genStatisticStyle(statisticToken)];\n});","map":{"version":3,"names":["genComponentStyleHook","mergeToken","resetComponent","genStatisticStyle","token","componentCls","marginXXS","padding","colorTextDescription","statisticTitleFontSize","colorTextHeading","statisticContentFontSize","statisticFontFamily","Object","assign","marginBottom","color","fontSize","paddingTop","fontFamily","display","direction","marginInlineEnd","marginInlineStart","fontSizeHeading3","statisticToken"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/statistic/style/index.js"],"sourcesContent":["import { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { resetComponent } from '../../style';\nconst genStatisticStyle = token => {\n  const {\n    componentCls,\n    marginXXS,\n    padding,\n    colorTextDescription,\n    statisticTitleFontSize,\n    colorTextHeading,\n    statisticContentFontSize,\n    statisticFontFamily\n  } = token;\n  return {\n    [`${componentCls}`]: Object.assign(Object.assign({}, resetComponent(token)), {\n      [`${componentCls}-title`]: {\n        marginBottom: marginXXS,\n        color: colorTextDescription,\n        fontSize: statisticTitleFontSize\n      },\n      [`${componentCls}-skeleton`]: {\n        paddingTop: padding\n      },\n      [`${componentCls}-content`]: {\n        color: colorTextHeading,\n        fontSize: statisticContentFontSize,\n        fontFamily: statisticFontFamily,\n        [`${componentCls}-content-value`]: {\n          display: 'inline-block',\n          direction: 'ltr'\n        },\n        [`${componentCls}-content-prefix, ${componentCls}-content-suffix`]: {\n          display: 'inline-block'\n        },\n        [`${componentCls}-content-prefix`]: {\n          marginInlineEnd: marginXXS\n        },\n        [`${componentCls}-content-suffix`]: {\n          marginInlineStart: marginXXS\n        }\n      }\n    })\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Statistic', token => {\n  const {\n    fontSizeHeading3,\n    fontSize,\n    fontFamily\n  } = token;\n  const statisticToken = mergeToken(token, {\n    statisticTitleFontSize: fontSize,\n    statisticContentFontSize: fontSizeHeading3,\n    statisticFontFamily: fontFamily\n  });\n  return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